package com.qfedu.meidijiaju.mapper;

import com.qfedu.meidijiaju.entity.User;

import java.util.List;


public interface UserMapper {
    User queryUserInfo(String name);

    User login(User user);

    boolean updateUserInfo(User user);

    boolean deleteUser(int id);

    boolean register(User user);

    User queryUserInfoByPhone(String phone);

    List<User> queryAllUser();

}
